package org.example.Project;

public class Results {
    //1 表示成功
    //0 表示失败
    private Integer integer;
    private String description;
    private Object data;

    public Results() {
    }

    public Results(Integer integer, String description, Object data) {
        this.integer = integer;
        this.description = description;
        this.data = data;
    }


    public Integer getInteger() {
        return integer;
    }

    public void setInteger(Integer integer) {
        this.integer = integer;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "Results{" +
                "integer=" + integer +
                ", description='" + description + '\'' +
                ", data=" + data +
                '}';
    }


}
